package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宠物申请对象 tb_adoptionapplication
 * 
 * @author ruoyi
 * @date 2023-11-08
 */
public class TbAdoptionapplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 流浪动物 */
    @Excel(name = "流浪动物")
    private Long animalId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private String adoptionApplicationStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAnimalId(Long animalId) 
    {
        this.animalId = animalId;
    }

    public Long getAnimalId() 
    {
        return animalId;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }
    public void setAdoptionApplicationStatus(String adoptionApplicationStatus) 
    {
        this.adoptionApplicationStatus = adoptionApplicationStatus;
    }

    public String getAdoptionApplicationStatus() 
    {
        return adoptionApplicationStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("animalId", getAnimalId())
            .append("applicationTime", getApplicationTime())
            .append("adoptionApplicationStatus", getAdoptionApplicationStatus())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
